//
//  MyClass.swift
//  JazzyDocument
//
//  Created by Sven on 2020/8/10.
//  Copyright © 2020 Sven. All rights reserved.
//

import Foundation
/// 自定义 MyClass
class MyClass: NSObject {
    private var privateProperty: String = "私有属性"
    var internalProperty: String = "interanle 权限属性"
    
    /// 方向， 默认east
    /// - SeeAlso: `Diration`
    var diration: Diration = .east
    // MARK: - Methord
    /// 没有参数的方法
    /// - Important: 方法权限为 private
    private func privateFunction() {
        print(#function)
    }
    
    /// 没有参数的方法
    /// - Important: 方法权限为 internal
    func internalFunction() {
        print(#function)
    }
    
    /// 带参数的方法
    /// - Parameters:
    ///   - parma1: 参数1
    ///   - param2: 参数2
    ///   - param3: 参数3
    /// - Returns: 是否成功
    func functionWith(params parma1:String, param2: Bool, param3: [String] ) -> Bool {
        return true
    }
}


